package tests.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import mylab.annotation.rds.ColumnComment;
import mylab.annotation.rds.Unique;
import mylab.base.model.entity.LongIdEntity;


@Getter
@Setter
@TableName
public class SysUser extends LongIdEntity {

    @Unique
    @ColumnComment("登录用户名")
    @ApiModelProperty(value = "登录用户名")
    @TableField
    private String username;

    @ColumnComment("密码")
    @ApiModelProperty(value = "密码")
    @TableField
    private String password;


}